package com.mic.yzzn.plc.model;

import java.util.Date;

public class PLCStatusData {

	public static final int PLC_STATIONC_EXIST = 1,
			                PLC_STATIONC_NOT_EXIST = 0;
	/** 取得数据的时间 */
    private Date time = new Date();

	/** 该站点是否存在 */
    private int status; 
    
    /** PLC站点信息 */
    private StationStatus data;
    
    public PLCStatusData()
    {	
    }

	@Override
	public String toString() {
		return time + " " + status + " " + data;
	}

	public Date getTime() {
		return time;
	}

	public void setTime(Date time) {
		this.time = time;
	}

	public int getStatus() {
		return status;
	}

	public StationStatus getData() {
		return data;
	}

	public void setData(StationStatus data) {
		this.data = data;
	}

	public void setStatus(int status) {
		this.status = status;
	}
}
